from django.db import models


# Create your models here.
class Problem(models.Model):
    problem = models.CharField(max_length=512, verbose_name="常见问题")
    answer = models.CharField(max_length=1024, verbose_name="答案")
    class Meta:
        db_table = 'swim_problem'
        verbose_name_plural = '问题表'

    def __str__(self):
        return self.problem